#{extends 'overlay.html' /}
<div id="crudBlank" class="${type.name}">
	
	
	
	#{set 'moreScripts'}
	  <script type="text/javascript"> 
$(function() {

	$('#object_startDate').datepicker({  
		changeMonth: true,
		changeYear: true,
		dateFormat: 'yy-mm-dd'
	 
	 });
	$('#object_endDate').datepicker({  
		changeMonth: true,
		changeYear: true,
		dateFormat: 'yy-mm-dd'
		
	 });
});</script>
	#{/set}
	<h2 id="crudBlankTitle">&{'crud.blank.title', type.modelName}</h2>
	
	<div class="objectForm">
	#{form action:@projectcreate(projectId), enctype:'multipart/form-data'}
		#{crud.form}
		#{crud.custom 'finalsnapshot'}
		#{/crud.custom }	
		#{crud.custom 'startDate'}	
	
				

<label for="object_startDate">Start Date</label>
	
	<input id="object_startDate" class="" type="text" name="object.startDate" value="" size="10" />		
 


			
		#{/crud.custom }
					#{crud.custom 'endDate'}	
	
				

<label for="object_endDate">End Date</label>
	
	<input id="object_endDate" class="" type="text" name="object.endDate" value="" size="10" />		
 


			
		#{/crud.custom }
		#{crud.custom 'ended'}
			#{/crud.custom }
			#{crud.custom 'deleted'}
			#{/crud.custom }
			#{crud.custom 'sprintNumber'}
			#{/crud.custom }
			#{crud.custom 'Last'}
			#{/crud.custom }
			#{crud.custom 'logs'}
			#{/crud.custom }
			#{crud.custom 'project'}
			<input type="hidden" id="object_project" name="object.project@id" value="${projectId}" >
			#{/crud.custom}
			
		#{crud.custom 'meetings'}
		#{/crud.custom}
		#{crud.custom 'tasks'}
		#{/crud.custom}
		#{crud.custom 'days'}
		#{/crud.custom}
	
		#{/crud.form}
		<div class="crudButtons">
			<input type="submit" name="_save" value="&{'crud.save', type.modelName}" />
		</div>
	#{/form}
	</div>

</div>